/**
 * 
 */
package com.tvshows.front.ui.main;

import org.eclipse.swt.layout.FormData;

import com.tvshows.front.ui.FrontUI;
import com.tvshows.front.ui.favorite.FavoriteUI;
import com.tvshows.front.ui.recap.RecapUI;

/**
 * @author tMidy
 * <p>
 * {@link MainUI} interface
 * </p>
 */
public interface MainUI
    extends FrontUI
{

    /*
     * FormsData
     */
    FormData getFavoritesData();

    FormData getRecapData();

    void layout();

    /**
     * Configure the shell to center the frame in the screen
     */
    void initShell();

    /*
     * Dialogs
     */
    void waitForNextFrame();

    void setFavoriteView( FavoriteUI favoriteView );

    void setRecapView( RecapUI recapView );

    /**
     * @return the favoriteView
     */
    FavoriteUI getFavoriteView();

    /**
     * @return the recapView
     */
    RecapUI getRecapView();

}
